<?php
namespace \DragonU\Core;
/**
 * Used to load CorePress all library files for performance.
 *
 * This is only slightly better than autoload, but slower than including the entire library in one
 * file. Use this if performance is important, but you don't have an opcode cache. You should always
 * use an opcode code to speed up the execution and only compiles once.
 *
 * @internal
 * Copyright (c) 2009, Jacob Santos
 * All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without modification, are permitted
 * provided that the following conditions are met:
 *  * Redistributions of source code must retain the above copyright notice, this list of conditions
 *    and the following disclaimer.
 *  * Redistributions in binary form must reproduce the above copyright notice, this list of
 *    conditions and the following disclaimer in the documentation and/or other materials provided
 *    with the distribution.
 *  * Neither the name of the DragonU nor the names of its contributors may be used to endorse or
 *    promote products derived from this software without specific prior written permission.
 *
 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR
 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
 * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
 * WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 *
 * @author Jacob Santos <wordpress@santosj.name>
 * @license http://www.opensource.org/licenses/bsd-license.php New BSD license
 * @package DragonU
 * @subpackage Loader
 * @since 0.1
 */

/**
 * Base CorePress library directory.
 *
 * @since 0.1
 * @var string
 */
const COREPRESS_LIBRARY_DIR = __DIR__ . DIRECTORY_SEPARATOR;

/** CorePress Storage API */
require COREPRESS_LIBRARY_DIR . 'storage.php';
/** CorePress Timer API */
require COREPRESS_LIBRARY_DIR . 'timer.php';

/** CorePress DB API */
require COREPRESS_LIBRARY_DIR . 'db.php';
/** CorePress DB Cache API */
require COREPRESS_LIBRARY_DIR . 'db/cache.php';
/** CorePress DB Connector API */
require COREPRESS_LIBRARY_DIR . 'db/connector.php';
/** CorePress DB Debug API */
require COREPRESS_LIBRARY_DIR . 'db/debug.php';
/** CorePress DB Process API */
require COREPRESS_LIBRARY_DIR . 'db/process.php';
/** CorePress DB Statistics API */
require COREPRESS_LIBRARY_DIR . 'db/statistics.php';
/** CorePress DB Table API */
require COREPRESS_LIBRARY_DIR . 'db/table.php';

/** CorePress HTTP Transport Interface */
require COREPRESS_LIBRARY_DIR . 'http/transport/interface.php';
/** CorePress HTTP Fsockopen Transport */
require COREPRESS_LIBRARY_DIR . 'http/transport/fsockopen.php';
/** CorePress HTTP Streams Transport */
require COREPRESS_LIBRARY_DIR . 'http/transport/streams.php';
/** CorePress HTTP cURL Transport */
require COREPRESS_LIBRARY_DIR . 'http/transport/curl.php';
/** CorePress HTTP ExtHTTP Transport */
require COREPRESS_LIBRARY_DIR . 'http/transport/http.php';
/** CorePress HTTP Authentication Header Implementation */
require COREPRESS_LIBRARY_DIR . 'http/authentication.php';
/** CorePress HTTP Chunked Header Implementation */
require COREPRESS_LIBRARY_DIR . 'http/chunked.php';
/** CorePress HTTP Cookie Header Implementation */
require COREPRESS_LIBRARY_DIR . 'http/cookies.php';
/** CorePress HTTP Gzip Implementation */
require COREPRESS_LIBRARY_DIR . 'http/gzip.php';
/** CorePress HTTP Headers */
require COREPRESS_LIBRARY_DIR . 'http/headers.php';
/** CorePress HTTP API */
require COREPRESS_LIBRARY_DIR . 'http.php';

/** CorePress Plugin Hooks Interface */
require COREPRESS_LIBRARY_DIR . 'plugin/hook/interface.php';
/** CorePress Plugin Action Hook */
require COREPRESS_LIBRARY_DIR . 'plugin/hook/action.php';
/** CorePress Plugin Filter Hook */
require COREPRESS_LIBRARY_DIR . 'plugin/hook/filter.php';
/** CorePress Plugin WordPress implementation */
require COREPRESS_LIBRARY_DIR . 'plugin/compat.php';
/** CorePress Plugin API */
require COREPRESS_LIBRARY_DIR . 'plugin.php';